<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    *{
        margin: 0px;
    }
    body,
    html {
        width: 100%;
        margin: 0px;
        background-color: #f2f4f8;
    }
    /* 顶部部分 */
    .topnav{
        display: flex;
        flex-direction: row; 
		justify-content:flex-start;
        background-color: white;
        height: 80px;
    }
    .topnav img:nth-child(1){
        width: 20px;
        height: 20px;
        margin-top: 30px;
        margin-left: 20px;
    }
    .topnav span:nth-child(2){
        margin: 0 auto;
        font-size: 20px;
        color: #505050;
        margin-top: 30px;
        font-weight: 800;
    }
    /* 红包框 */
    .container{
        background-color: white;
        border-radius: 5px;
        height: 320px;
        width: 280px;
        margin-top: 150px;
        margin-left: 50px;
    }
    /* logo标 */
    .logo{
        height: 100px;
        width: 100px;
        border-radius: 50%;
        background-color: #ffc300;
        position: relative;
        top: -50px;
        left: 90px;
    }
    .logo1{
        height: 90px;
        width: 90px;
        border-radius: 50%;
        background-color: #ffd857;
        position: relative;
        top: 5px;
        left: 5px;
        color: white;
        font-size: 70px;
        font-weight: 600;
        text-align: center;
    }

    /* 红包内容 */
    .content{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    /* 余额 */
    .text{
        color: #505050;
        font-size: 20px;
        margin-top: -20px;
    }
    .price1{
        position: relative;
        top: 40px;
        left: -80px;
        font-size: 22px;
        color: #585656;
    }
    .price2{
        color: #383838;
        font-size: 50px;
        margin-top: -10px;
    }
    /* 余额明细 */
    .btn1{
        height: 40px;
        width: 120px;
        border: 2px solid  rgb(221, 215, 215);
        text-align: center;
        line-height: 40px;
        color: #505050;
        font-weight: 800;
        font-size: 20px;
        margin-top: 20px;
    }
    /* 充值 */
    .btn2{
        height: 50px;
        width: 280px;
        border-radius: 0px 0px 5px 5px;
        background-color: #ea5235;
        color: white;
        font-size: 22px;
        text-align: center;
        line-height: 50px;
        margin-top: 40px;
    }
</style>
<body>
    <div>
        <!-- 顶部部分 -->
        <div class="topnav">
            <img src="../jpg/返回.png" >
            <span>我的余额</span>
        </div>
        <!-- 红包框 -->
        <div class="container">
            <!-- logo标 -->
            <div class="logo">
                <div class="logo1">
                    <span>￥</span>
                </div>
            </div>
            <!-- 红包内容 -->
            <div class="content">
                 <!-- 余额 -->
                <p class="text">———  余额  ———</p>
                <span class="price1">￥</span><span class="price2">190.00</span>
                <!-- 余额明细 -->
                <div class="btn1">
                    <span>余额明细</span>
                </div>
                <!-- 充值 -->
                <div class="btn2">
                    <span>充值</span>
                </div>
            </div>
           
        </div>
    </div>

</body>
</html>